﻿namespace ScrumLite.Data
{
    using System;
    using System.Collections.Generic;

    public interface ICommitmentStore
    {
        Commitment RetrieveCommitment(Guid commitmentId);
        Commitment[] RetrieveCommitments(DateTime standupDate, Guid projectId);
        DateTime[] RetrieveStandupDates(Guid projectId);
        Dictionary<DateTime, int> RetrieveDailyCommitmentsCount(Guid projectId, bool closed);

        void Update(Commitment entity);
        void Add(Commitment entity);
        void Delete(Guid id);
    }
}
